The online racing simulator
Searching in All forums
(113 results)
G. Dierckx
S2 licensed
did you use the loop:
$continue = true;
do
{
....
}
while($continue);

cause if it pops up for half a second, then shuts down then I guess it means that the has finished it tasks.. or it should be an error..
G. Dierckx
S2 licensed
Could be.. tho all the other logs or just fine... just those 15
"bots"
G. Dierckx
S2 licensed
Is it possible that someone made a "bot" for lfs? I record all driver sessions on my server and there is a guy wich has 15 sessions in a row driven the same distance...
2008-06-03 12:34:02 2008-06-03 13:04:45 1902.01 € 93.29 km
2008-06-03 10:09:02 2008-06-03 12:33:47 1902.01 € 93.29 km
2008-06-02 23:21:54 2008-06-03 10:08:47 1902.01 € 93.29 km
2008-06-02 23:11:42 2008-06-02 23:21:47 1902.01 € 93.29 km
2008-06-02 19:05:06 2008-06-02 23:11:17 1902.01 € 93.29 km
2008-06-02 17:40:32 2008-06-02 19:04:47 1902.01 € 93.29 km
2008-06-02 17:11:50 2008-06-02 17:40:14 1902.01 € 93.29 km
2008-06-02 15:23:17 2008-06-02 17:11:44 1902.01 € 93.29 km
2008-06-02 15:02:13 2008-06-02 15:23:14 1902.01 € 93.29 km
2008-06-02 01:16:31 2008-06-02 15:01:44 1902.01 € 93.29 km
2008-06-01 22:37:46 2008-06-02 01:16:14 1902.01 € 93.29 km
2008-06-01 22:27:30 2008-06-01 22:37:44 1902.01 € 93.29 km
2008-06-01 22:24:29 2008-06-01 22:27:15 1902.01 € 93.29 km
2008-06-01 22:14:51 2008-06-01 22:24:14 1902.01 € 93.29 km
2008-06-01 20:43:00 2008-06-01 22:14:44 1902.01 € 93.29 km

G. Dierckx
S2 licensed
download http://www.terrasoftsolutions.com/support/downloads/ burn on cd, install wine and try to install lfs
C# & mysql, character problem
G. Dierckx
S2 licensed
Hey, does anyone know how to save special characters in a mysql database? for example when a username contains ä, it shows up in the mysql database as "?"...
G. Dierckx
S2 licensed
Quote from Victor :the WOULDBLOCK message, I think, means that your TCP send buffer is full, therefore a network-write would block, waiting for the write buffer to become available again.

So yes, removing some messages would do the trick, if there are a lot of messages being sent. That could potentially fill up a network-buffer.

It's always a good idea to prevent instant-spamming of messages and to create a message sending mechanism for your insim application that waits a little bit in between sending messages, so that it will never flood a host or client with messages.

Hmm thx for the tip, and yes it was actually a bit of a flood, 4 lines of text were sent (not that much), but i guess arround 30-40 buttons were send to show the rules instantly... since i removed those it seems to be fixed
G. Dierckx
S2 licensed
Guess I solved the problem.. it was caused by the insim.. (remove welcome messages)
TCP errors on new connection
G. Dierckx
S2 licensed
Every time a user joins these 2 errors pop up:

TCP ERROR : WOULDBLOCK
TCP : Cleared emergency store

What do they mean? Can this be caused by a insim?
G. Dierckx
S2 licensed
nope only 1 connection
G. Dierckx
S2 licensed
Hey T-Ronx,

Normally when you connect to the lfs server with a insim program and the lfs server shuts down it should keep on trying reconnecting right? I just tried it and I got this exception:

System.IO.IOException was unhandled
Message="Kan geen gegevens lezen uit de transportverbinding: De externe host heeft een verbinding verbroken."
Source="System"
StackTrace:
bij System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
bij LFS_External.InSim.InSimInterface.listen_tcp()
bij System.Threading.ThreadHelper.ThreadStart_Context(Object state)
bij System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
bij System.Threading.ThreadHelper.ThreadStart()

And it doesn't point to any line so could it be a "bug" in the class itself?
G. Dierckx
S2 licensed
Post from mcgas001 (sean):
"Scawen, That cant be right with number 1, The Udp port in the ISI is for the MCI and NLP"
G. Dierckx
S2 licensed
Quote from dougie-lampkin :Is there a bug with the SPX PLID? When I use:

Connections[GetConnIdx(Players[GetPlyIdx(SPX.PLID)].UniqueID)].Username

I get an IndexOutOfRange Exception...

Has anybody else come across this?

Alot of times... I had the problem every time i started my insim on a full server, some NCN packages got dropped.. so these players where in the Players list but not in the Connections list.. Fixed it with some threads on the NCN handler (to reduce the execution time)

Greetz Glenn
G. Dierckx
S2 licensed
Quote from sun :no its not my code !

it was perfectly fine, untill he started hacking, now today the servers fine so he's not hacking (YET)

(sarcasm)
G. Dierckx
S2 licensed
oh btw smartass, use ^v instead of |..

Don't know tho why I'm helping you

edit:
Quote :OwEn zegt:
btw Shut the **** up
...
OwEn zegt:
haha]
he installed a hack on my server
i untistalled it
and put it on yours
good day :FD
Nice day for a walk

last time I helped him
Last edited by G. Dierckx, .
G. Dierckx
S2 licensed
Quote from sun :...
-------------------------------------

My Servers Been hacked

Hacked: Reinited - kicking people - Crashing InSim.

Hacker: WS.C X.

-------------------------------------

erm. Do you have any proof of my team mate "hacking" your server? Cause well he is almost never on line so I don't think it's him... + I don't think lfs is that easy hack-able when it comes to admin commands. Unless you have given him the admin pass off course. But I don't think that's "hacking".

+ come with some decent proof before you start pointing your finger to people..
G. Dierckx
S2 licensed
Quote from zak_mull :Maybe we should have called our server that mcgas since you where in there some how teleporting yourself around like in the sky then down then sky then down etc...

Quote from mcgas001 :I was indeed, And ive reported it to Scawen - Glenn said i could test my theory in the server. So i did.

I did indeed zak
G. Dierckx
S2 licensed
tcadmin is what they use on where ws servers are hosted
G. Dierckx
S2 licensed
Still alot of work until the next release? (can't wait to try it out :nod
G. Dierckx
S2 licensed
oh btw windstyle = me (2 accounts)
G. Dierckx
S2 licensed
Quote from eight8acht :lol glenn ^^ just giving it away

Quote from G. Dierckx :Hey,

If u want to, I can run a copy of this InSim on your own server..

Greetz Glenn

G. Dierckx
S2 licensed
Quote from mc906 :its amazing how it works, it shows the drift points as well as the angle of the drift, anyone kno how to get it on a different server?

Hey,

If u want to, I can run a copy of this InSim on your own server..

Greetz Glenn
G. Dierckx
S2 licensed
Quote from Krammeh :I've already got one, and LTC runs off PHP.

I'm tempted to release the web-control for LFS. I'll tidy up the code a bit, and make a few options - and then maybe I shall

Well if u want to i'm making for my own a php lfs server script for my dedicated server. It can add & remove lfs servers (all installed as services) and stop start them... just a base...
G. Dierckx
S2 licensed
hmm could be handy for making a web-based server control...
G. Dierckx
S2 licensed
Quote from Trekkerfahrer :will there be a small tutorial in the future? i found nothing useable and as a full noob in programming i have nearly no rescources, so its quiet hard to learn on your lib.

In the current lib there was a demo in the zip file... + it had all packages in comment lines.. It's perfect to start learing InSim applications...
G. Dierckx
S2 licensed
Quote from Macfox :Can you elaborate on these options. Ping has been requested already, but not as a InSim function/packet.

well it's all for the InSim client actually, if a NCN packet gets received, it contains username, playername etc.. if it also would contain the ip adress of the client, it would be handy for external applications.


The reset packet would be nice for some InSim based games. So u can send a RESET packet wich contains a playerid and then the server resets that placer (same as u would press space bar, but then the insim does this for u)
FGED GREDG RDFGDR GSFDG